package com.atguigu.gmall.user.client;

import com.atguigu.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Author: 李旭
 * @Time: 11:41
 * @Description:
 */
@FeignClient(name = "service-user")
public interface UserFeignClient {

    //收货地址集合 Ctrl+Alt +O
    @GetMapping("/api/user/getUserInfoAddress")
    public List<UserAddress> getUserInfoAddress();
}
